package com.spring.annotation.service.impl;

import com.spring.annotation.dao.PersonDao;
import com.spring.annotation.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service
public class PersonServiceImpl implements PersonService {

  @Autowired
  private PersonDao personDao;

  @Override
  public void savePerson() {
    System.out.println("-------------enter annotation PersonService.savePerson()");
    personDao.save();
  }


}
